<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            background-color: #000000;
        }

        .map {
            position: relative;
            width: 747px;
            height: 617px;
            background: url(images/map.png) no-repeat;
            margin: 0 auto;
        }

        .city {
            position: absolute;
            top: 227px;
            right: 193px;
        }

        .dotted {
            width: 8px;
            height: 8px;
            background-color: #0099ff;
            border-radius: 50%;
        }

        .city div[class^="pulse"] {
            /* 保证波纹在父盒子里边 水平垂直居中 --保证在中心之后放大，放大后就会沿着中心向四周发散*/
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
            width: 8px;
            height: 8px;
            box-shadow: 0 0 12px #009dfd;
            border-radius: 50%;
            animation: pulse 1.2s linear infinite;
        }
       .map .city .pulse2 {
            animation-delay: .4s;
        }
        .map .city .pulse3 {
           animation-delay: .8s;
        }

        /* 台北 */
        .city_tb {
            position: absolute;
            bottom: 109px;
            right: 82px;
        }
        .city_tb div[class^="pulse"] {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            transform: translate(-50%,-50%);
            box-shadow: 0 0 12px #009dfd;
            animation: pulse 1.2s linear infinite;
        }
        .map .city_tb .pulse2 {
            animation-delay: .4s;
        }
        .map .city_tb .pulse3 {
            animation-delay: .8s;
        }

          /* 广州 */
          .city_gz {
            position: absolute;
            bottom: 67px;
            right: 193px;
        }
        .city_gz div[class^="pulse"] {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            transform: translate(-50%,-50%);
            box-shadow: 0 0 12px #009dfd;
            animation: pulse 1.2s linear infinite;
        }
        .map .city_gz .pulse2 {
            animation-delay: .4s;
        }
        .map .city_gz .pulse3 {
            animation-delay: .8s;
        }


        /* 定义动画 */
        @keyframes pulse {
            0% {
                
            }
            70% {
                width: 40px;
                height: 40px;
                opacity: 1;
            }
            100% {
                width: 70px;
                height: 70px;
                opacity: 0;
            }
        }
    </style>
</head>

<body>
    <div class="map">
        <div class="city">
            <div class="dotted"></div>
            <div class="pulse1"></div>
            <div class="pulse2"></div>
            <div class="pulse3"></div>
        </div>
        <div class="city_tb">
            <div class="dotted"></div>
            <div class="pulse1"></div>
            <div class="pulse2"></div>
            <div class="pulse3"></div>
        </div>
        <div class="city_gz">
            <div class="dotted"></div>
            <div class="pulse1"></div>
            <div class="pulse2"></div>
            <div class="pulse3"></div>
        </div>
    </div>
</body>

</html>